package pers.liyan.shi.springcloudkafkatest.domain;

public class UserConvertor {
    public static UserVO toUserVO(UserDTO userDTO) {
        return UserVO.builder()
                .username(userDTO.getUsername())
                .age(userDTO.getAge())
                .build();
    }
}
